package com.info.zhiduoduo.wxsdk.shecdule;

import com.info.zhiduoduo.wxsdk.WxApiService;
import com.info.zhiduoduo.wxsdk.utils.LogUtil;

import org.springframework.beans.factory.annotation.Autowired;

//@Component
public class RefreshWxNormalAccessTokenScheduleJob {

	@Autowired
	WxApiService wxApiService;


	//@Scheduled(cron = "0 0 0/1 * * ?") // 每1小时执行一次,刷新缓存
	public void refreshNormalAcceessToken(){
		LogUtil.info("-----------------START 自动刷新微信普通accessToken------------------");
		//wxApiService.applyNormalAccessTokenAndJsTicket();
		LogUtil.info("-----------------END 自动刷新微信普通accessToken------------------");
	}
}
